Log in Register Dashboard Temp Share Shortlinks Frames API

cody - HTMLify profile

cody's Profile Picture

cody

4270 Files

632542 Views

Latest files of /cody/solygambas/html-css-javascript-projects/013-random choice picker

style.css cody/solygambas/html-css-javascript-projects/013-random choice picker/style.css
157 Views
0 Comments
@import url("https://fonts.googleapis.com/css2?family=Muli&display=swap");

* {
box-sizing: border-box;
}

body {
background-color: #2b88f0;
index.html cody/solygambas/html-css-javascript-projects/013-random choice picker/index.html
358 Views
0 Comments
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="style.css" />
<title>Random Choice Picker</title>
</head>
script.js cody/solygambas/html-css-javascript-projects/013-random choice picker/script.js
242 Views
0 Comments
const tagsElements = document.getElementById("tags");
const textarea = document.getElementById("textarea");

const createTags = (input) => {
const tags = input
.split(",")
.filter((tag) => tag.trim() !== "")
.map((tag) => tag.trim());